x1:	str1 DB 'Test string'
	str2 DB 11,'Test string'
sizeStr = ($ - x1) / 2

;compare strings 
CMP_2Strings: push edi esi
	MOV  ESI,  ecx ;str1  
  	MOV  EDI,  edx ;str2

	MOVZX  ECX,byte [edx]  		;sizeStr
	mov  eax,ecx			;this add to ebx(=ptr text)
  
;Сравнивать, пока равно
  	REPE CMPSB
  	JNZ  Not@@Equal
	
	pop esi
	pop edi
	ret

;this equal

Not@@Equal:	xor eax,eax	 
	pop esi
	pop edi
	ret